<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>行程计划详细信息</title>
<link href="<s:url value="/resources/css/info.css"/>" rel="stylesheet" type="text/css" />
<link href="<s:url value='/resources/css/control.theme.css'/>" rel="stylesheet" type="text/css"/>
<script src="<s:url value='/resources/js/jquery/jquery-1.5.2.min.js'/>" type="text/javascript"></script>
<script src="<s:url value='/resources/js/common/info.create.js'/>" type="text/javascript"></script>
<script type="text/javascript">
	var contextpath = "<%= request.getContextPath() %>";//上下文
	
	var plan = <s:property value="#request.plan" escape="false"/>;
	
	$(function(){
		$(window).error(function(msg){
			alert('脚本运行错误，请刷新重试！');
		}); 
		var groupicon = '<s:url value="/resources/images/communication.gif"/>';
		
		$('#nav_cont').createInfo({
            valueWidth: 200, labelWidth: 120, space: 40, labelAlign:'right',
            fields: [
            {display: "行程单号", value: plan.tourCode, newline: true, group: "基础信息", groupicon: groupicon}, 
            
            {display: "行程名称", value: plan.tourName, newline: false}, 
            {display: "社团号", value: plan.tourNo, newline: true},
            {display: "外联", value: plan.forContact, newline: false},
            {display: "旅行社", value: plan.travelAccName, newline: true},
            {display: "旅行社代码", value: plan.travelAccCode, newline: false},
            {display: "导游名字", value: plan.guideName, newline: true},
            {display: "导游电话", value: plan.guidePhone, newline: false},
            
            {display: "出发日期", value: plan.beginDate, newline: true},
            {display: "结束日期", value: plan.endDate, newline: false},
            {display: "天数", value: plan.days, newline: true},
            {display: "旅客人数", value: plan.total, newline: false},
            {display: "抵琼日期", value: plan.toHnTime, newline: true},
            {display: "离开日期", value: plan.outHnTime, newline: false},
            {display: "抵琼交通工具", value: plan.toHnTra, newline: true},
            {display: "离琼交通工具", value: plan.outHnTra, newline: false},
            {display: "抵琼地点", value: plan.toHnAddr, newline: true},
            {display: "离琼地点", value: plan.outHnAddr, newline: false},

            {display: "儿童团费", value: plan.priceChild+' 元', newline: true, group: "团费信息", groupicon: groupicon },
            {display: "婴儿团费", value: plan.priceBaby+' 元', newline: false},
            {display: "老人团费", value: plan.priceOld+' 元', newline: true},
            {display: "成人团费", value: plan.priceAdult+' 元', newline: false},
            
            {display: "客源地", value: plan.source, newline: true, group: "线路信息", groupicon: groupicon },
            {display: "接站牌", value: plan.site, newline: false},
            {display: "是否已投保", value: (plan.insPay==1?'是':'否'), newline: true},
            {display: "线路信息", value: plan.line, newline: true, width:600},
            {display: "服务标准", value: plan.service, newline: true, width:600},
            
            {display: "特邀监督员1/电话", value: plan.super1, newline: true, group: "其他信息", groupicon: groupicon },
            {display: "特邀监督员2/电话", value: plan.super2, newline: false},
            {display: "审核人", value: plan.checkUser, newline: true}
            ]
        });
	});
</script>
</head>
<body style="margin: 0;padding: 0;">
<div class="right clear" style="margin: 0 10px;">
	<div id="nav_cont"></div>
	<div style="font-size: 14px; padding:5px 10px; list-style: none; clear: both;"><a href="<s:url value="/control/showPlans.do"/>">点击返回</a></div>
</div>
</body>
</html>